package text.text1;

public class Main {
    public static void main(String args[]){
        LoopNode<String> list = new LoopNode<>();
        list.display();

        list.headAtHead("a");
        list.display();

        list.headAtTail("b");
        list.display();

        list.headBefor("a","c");
        list.display();

        list.headLater("a","d");
        list.display();

    }
}
